
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ClientRegexps</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>ClientRegexps</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/media/disk-1/data/zdstack/trunk/ZDStack/ClientRegexps.py">/media/disk-1/data/zdstack/trunk/ZDStack/ClientRegexps.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="ClientRegexps.html#Regexps">Regexps</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Regexps">class <strong>Regexps</strong></a></font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>COMMANDS</strong> = [('^Unknown command (?P&lt;command&gt;.*)$', 'unknown_command'), (r'(?P&lt;players&gt;\d\d|\d) players$', 'number_of_players'), (r'(?P&lt;player_num&gt;\d\d|\d):  (?P&lt;player_name&gt;.*) \(...\d\d|\d)\.(?:\d\d\d|\d\d|\d)\.(?:\d\d\d|\d\d|\d))', 'player_line')]</dl>

<dl><dt><strong>CONNECTIONS</strong> = [('^(.*) has connected.$', 'connection'), ('^(.*) disconnected$', 'disconnection')]</dl>

<dl><dt><strong>DEATHS</strong> = [('^(.*) should have stood back.$', 'rocket suicide'), ('^(.*) mutated.$', 'mutation'), ('^(.*) died.$', 'death'), ('^(.*) melted.$', 'melting'), ('^(.*) killed herself.$', 'suicide'), ('^(.*) killed himself.$', 'suicide'), ('^(.*) fell too far.$', 'falling'), ('^(.*) tried to leave.$', 'exiting'), ("^(.*) can't swim.$", 'drowning'), ('^(.*) checks her glasses.$', 'teamkill'), ('^(.*) checks his glasses.$', 'teamkill')]</dl>

<dl><dt><strong>FLAGS</strong> = [('^(.*) has taken the (.*) flag', 'flag_touch'), ('^(.*) lost the (.*) flag', 'flag_loss'), ('^(.*) returned the (.*) flag', 'flag_return'), ('^(.*) picked up the (.*) flag', 'flag_pick'), ('^(.*) scored for the (.*) team', 'flag_cap')]</dl>

<dl><dt><strong>JOINS</strong> = [('^(.*) is now on the (Blue|Red|White|Green) team.$', 'team_switch'), ('^(.*) joined the game.$', 'game_join'), ('^(.*) joined the game on the (Blue|Red|White|Green) team.$', 'team_join')]</dl>

<dl><dt><strong>NUMS_TO_WEAPONS</strong> = {'1': 'fist', '10': 'telefrag', '11': 'unknown', '12': 'suicide', '13': 'telefuck', '2': 'chainsaw', '3': 'pistol', '4': 'shotgun', '5': 'super shotgun', '6': 'chaingun', ...}</dl>

<dl><dt><strong>RCONS</strong> = [('^RCON for (.*) is denied!$', 'rcon_denied'), ('^RCON for (.*) is granted!$', 'rcon_granted'), (r'^(.*) RCON \((.*) \)$', 'rcon_action')]</dl>

<dl><dt><strong>WEAPONS</strong> = [("^(.*) chewed on (.*)'s fist.$", 'fist'), ("^(.*) was mowed over by (.*)'s chainsaw.$", 'chainsaw'), ("^(.*) was tickled by (.*)'s pea shooter.$", 'pistol'), ("^(.*) chewed on (.*)'s boomstick.$", 'shotgun'), ("^(.*) was mowed down by (.*)'s chaingun.$", 'chaingun'), ("^(.*) was splattered by (.*)'s super shotgun.$", 'super shotgun'), ("^(.*) rode (.*)'s rocket.$", 'rocket launcher'), ("^(.*) was melted by (.*)'s plasma gun.$", 'plasma gun'), ("^(.*) couldn't hide from (.*)'s BFG.$", 'bfg'), ("^(.*) was splintered by (.*)'s BFG.$", 'bfg'), ('^(.*) was telefragged by (.*).$', 'telefrag')]</dl>

</td></tr></table></td></tr></table>
</body></html>